using System.Threading.Tasks;
using System;
using System.Net.Http;

namespace t01.ViewModels;


public partial class MainWindowViewModel : ViewModelBase {
    // NOTE:test get the api
    public async Task GetDataFromNet()
    {
        HttpClient hc = new HttpClient();
        var resp = await hc.GetAsync("https://v2.jinrishici.com/token");
        Console.WriteLine(resp.StatusCode);
    }
}